package com.cxso.example.domain.wlpt.waybill;

import com.cxso.example.enums.wlpt.BillImageTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@Accessors(chain = true)
@Schema(description = "运单回单信息")
public class ApiWaybillReceiptDomain implements Serializable {

    @Schema(description = "回单地址")
    @NotBlank(message = "回单地址不可为空")
    private String receiptUrl;

    @Schema(description = "回单类型")
    @NotNull(message = "回单类型不可为空")
    private BillImageTypeEnum billImageType;

}
